package com.jsh.erp.datasource.entities;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class User {

    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("用户名称")
    private String username;
    @ApiModelProperty("登录用户名")
    private String loginName;
    @ApiModelProperty("登录用户名")
    private String password;
    @ApiModelProperty("职位")
    private String position;
    @ApiModelProperty("所属部门")
    private String department;
    @ApiModelProperty("所属部门")
    private String email;
    @ApiModelProperty("手机号码")
    private String phonenum;
    @ApiModelProperty("是否为管理者 0==管理者 1==员工")
    private Byte ismanager;
    @ApiModelProperty("是否系统自带数据 ")
    private Byte isystem;
    @ApiModelProperty("状态，0：正常，1：删除，2封禁")
    private Byte status;
    @ApiModelProperty("用户描述信息")
    private String description;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("租户id")
    private String tenantId;

    @ApiModelProperty("有效标识  0-未上传 1-已上传 2-未下拉（调拨的状态")
    private String uploadFlag;
    @ApiModelProperty("语言  en_US-英文 zh_CN-中文")
    private String lanCode;

    private Date updateTime;

    private Date createTime;

}
